
sqrt:     file format elf64-x86-64


Disassembly of section .init:

0000000000001000 <_init>:
    1000:	f3 0f 1e fa          	endbr64 
    1004:	48 83 ec 08          	sub    $0x8,%rsp
    1008:	48 8b 05 d9 2f 00 00 	mov    0x2fd9(%rip),%rax        # 3fe8 <__gmon_start__>
    100f:	48 85 c0             	test   %rax,%rax
    1012:	74 02                	je     1016 <_init+0x16>
    1014:	ff d0                	callq  *%rax
    1016:	48 83 c4 08          	add    $0x8,%rsp
    101a:	c3                   	retq   

Disassembly of section .plt:

0000000000001020 <.plt>:
    1020:	ff 35 82 2f 00 00    	pushq  0x2f82(%rip)        # 3fa8 <_GLOBAL_OFFSET_TABLE_+0x8>
    1026:	f2 ff 25 83 2f 00 00 	bnd jmpq *0x2f83(%rip)        # 3fb0 <_GLOBAL_OFFSET_TABLE_+0x10>
    102d:	0f 1f 00             	nopl   (%rax)
    1030:	f3 0f 1e fa          	endbr64 
    1034:	68 00 00 00 00       	pushq  $0x0
    1039:	f2 e9 e1 ff ff ff    	bnd jmpq 1020 <.plt>
    103f:	90                   	nop
    1040:	f3 0f 1e fa          	endbr64 
    1044:	68 01 00 00 00       	pushq  $0x1
    1049:	f2 e9 d1 ff ff ff    	bnd jmpq 1020 <.plt>
    104f:	90                   	nop
    1050:	f3 0f 1e fa          	endbr64 
    1054:	68 02 00 00 00       	pushq  $0x2
    1059:	f2 e9 c1 ff ff ff    	bnd jmpq 1020 <.plt>
    105f:	90                   	nop
    1060:	f3 0f 1e fa          	endbr64 
    1064:	68 03 00 00 00       	pushq  $0x3
    1069:	f2 e9 b1 ff ff ff    	bnd jmpq 1020 <.plt>
    106f:	90                   	nop

Disassembly of section .plt.got:

0000000000001070 <__cxa_finalize@plt>:
    1070:	f3 0f 1e fa          	endbr64 
    1074:	f2 ff 25 7d 2f 00 00 	bnd jmpq *0x2f7d(%rip)        # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
    107b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

Disassembly of section .plt.sec:

0000000000001080 <__stack_chk_fail@plt>:
    1080:	f3 0f 1e fa          	endbr64 
    1084:	f2 ff 25 2d 2f 00 00 	bnd jmpq *0x2f2d(%rip)        # 3fb8 <__stack_chk_fail@GLIBC_2.4>
    108b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001090 <printf@plt>:
    1090:	f3 0f 1e fa          	endbr64 
    1094:	f2 ff 25 25 2f 00 00 	bnd jmpq *0x2f25(%rip)        # 3fc0 <printf@GLIBC_2.2.5>
    109b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000010a0 <sqrt@plt>:
    10a0:	f3 0f 1e fa          	endbr64 
    10a4:	f2 ff 25 1d 2f 00 00 	bnd jmpq *0x2f1d(%rip)        # 3fc8 <sqrt@GLIBC_2.2.5>
    10ab:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000010b0 <rand@plt>:
    10b0:	f3 0f 1e fa          	endbr64 
    10b4:	f2 ff 25 15 2f 00 00 	bnd jmpq *0x2f15(%rip)        # 3fd0 <rand@GLIBC_2.2.5>
    10bb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

Disassembly of section .text:

00000000000010c0 <_start>:
    10c0:	f3 0f 1e fa          	endbr64 
    10c4:	31 ed                	xor    %ebp,%ebp
    10c6:	49 89 d1             	mov    %rdx,%r9
    10c9:	5e                   	pop    %rsi
    10ca:	48 89 e2             	mov    %rsp,%rdx
    10cd:	48 83 e4 f0          	and    $0xfffffffffffffff0,%rsp
    10d1:	50                   	push   %rax
    10d2:	54                   	push   %rsp
    10d3:	4c 8d 05 56 03 00 00 	lea    0x356(%rip),%r8        # 1430 <__libc_csu_fini>
    10da:	48 8d 0d df 02 00 00 	lea    0x2df(%rip),%rcx        # 13c0 <__libc_csu_init>
    10e1:	48 8d 3d 55 02 00 00 	lea    0x255(%rip),%rdi        # 133d <main>
    10e8:	ff 15 f2 2e 00 00    	callq  *0x2ef2(%rip)        # 3fe0 <__libc_start_main@GLIBC_2.2.5>
    10ee:	f4                   	hlt    
    10ef:	90                   	nop

00000000000010f0 <deregister_tm_clones>:
    10f0:	48 8d 3d 19 2f 00 00 	lea    0x2f19(%rip),%rdi        # 4010 <__TMC_END__>
    10f7:	48 8d 05 12 2f 00 00 	lea    0x2f12(%rip),%rax        # 4010 <__TMC_END__>
    10fe:	48 39 f8             	cmp    %rdi,%rax
    1101:	74 15                	je     1118 <deregister_tm_clones+0x28>
    1103:	48 8b 05 ce 2e 00 00 	mov    0x2ece(%rip),%rax        # 3fd8 <_ITM_deregisterTMCloneTable>
    110a:	48 85 c0             	test   %rax,%rax
    110d:	74 09                	je     1118 <deregister_tm_clones+0x28>
    110f:	ff e0                	jmpq   *%rax
    1111:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
    1118:	c3                   	retq   
    1119:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

0000000000001120 <register_tm_clones>:
    1120:	48 8d 3d e9 2e 00 00 	lea    0x2ee9(%rip),%rdi        # 4010 <__TMC_END__>
    1127:	48 8d 35 e2 2e 00 00 	lea    0x2ee2(%rip),%rsi        # 4010 <__TMC_END__>
    112e:	48 29 fe             	sub    %rdi,%rsi
    1131:	48 89 f0             	mov    %rsi,%rax
    1134:	48 c1 ee 3f          	shr    $0x3f,%rsi
    1138:	48 c1 f8 03          	sar    $0x3,%rax
    113c:	48 01 c6             	add    %rax,%rsi
    113f:	48 d1 fe             	sar    %rsi
    1142:	74 14                	je     1158 <register_tm_clones+0x38>
    1144:	48 8b 05 a5 2e 00 00 	mov    0x2ea5(%rip),%rax        # 3ff0 <_ITM_registerTMCloneTable>
    114b:	48 85 c0             	test   %rax,%rax
    114e:	74 08                	je     1158 <register_tm_clones+0x38>
    1150:	ff e0                	jmpq   *%rax
    1152:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)
    1158:	c3                   	retq   
    1159:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

0000000000001160 <__do_global_dtors_aux>:
    1160:	f3 0f 1e fa          	endbr64 
    1164:	80 3d a5 2e 00 00 00 	cmpb   $0x0,0x2ea5(%rip)        # 4010 <__TMC_END__>
    116b:	75 2b                	jne    1198 <__do_global_dtors_aux+0x38>
    116d:	55                   	push   %rbp
    116e:	48 83 3d 82 2e 00 00 	cmpq   $0x0,0x2e82(%rip)        # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
    1175:	00 
    1176:	48 89 e5             	mov    %rsp,%rbp
    1179:	74 0c                	je     1187 <__do_global_dtors_aux+0x27>
    117b:	48 8b 3d 86 2e 00 00 	mov    0x2e86(%rip),%rdi        # 4008 <__dso_handle>
    1182:	e8 e9 fe ff ff       	callq  1070 <__cxa_finalize@plt>
    1187:	e8 64 ff ff ff       	callq  10f0 <deregister_tm_clones>
    118c:	c6 05 7d 2e 00 00 01 	movb   $0x1,0x2e7d(%rip)        # 4010 <__TMC_END__>
    1193:	5d                   	pop    %rbp
    1194:	c3                   	retq   
    1195:	0f 1f 00             	nopl   (%rax)
    1198:	c3                   	retq   
    1199:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

00000000000011a0 <frame_dummy>:
    11a0:	f3 0f 1e fa          	endbr64 
    11a4:	e9 77 ff ff ff       	jmpq   1120 <register_tm_clones>

00000000000011a9 <havesamenum>:
    11a9:	f3 0f 1e fa          	endbr64 
    11ad:	55                   	push   %rbp
    11ae:	48 89 e5             	mov    %rsp,%rbp
    11b1:	48 83 ec 30          	sub    $0x30,%rsp
    11b5:	89 7d dc             	mov    %edi,-0x24(%rbp)
    11b8:	64 48 8b 04 25 28 00 	mov    %fs:0x28,%rax
    11bf:	00 00 
    11c1:	48 89 45 f8          	mov    %rax,-0x8(%rbp)
    11c5:	31 c0                	xor    %eax,%eax
    11c7:	c7 45 e4 00 00 00 00 	movl   $0x0,-0x1c(%rbp)
    11ce:	48 c7 45 ee 00 00 00 	movq   $0x0,-0x12(%rbp)
    11d5:	00 
    11d6:	66 c7 45 f6 00 00    	movw   $0x0,-0xa(%rbp)
    11dc:	eb 63                	jmp    1241 <havesamenum+0x98>
    11de:	8b 55 dc             	mov    -0x24(%rbp),%edx
    11e1:	48 63 c2             	movslq %edx,%rax
    11e4:	48 69 c0 67 66 66 66 	imul   $0x66666667,%rax,%rax
    11eb:	48 c1 e8 20          	shr    $0x20,%rax
    11ef:	89 c1                	mov    %eax,%ecx
    11f1:	c1 f9 02             	sar    $0x2,%ecx
    11f4:	89 d0                	mov    %edx,%eax
    11f6:	c1 f8 1f             	sar    $0x1f,%eax
    11f9:	29 c1                	sub    %eax,%ecx
    11fb:	89 c8                	mov    %ecx,%eax
    11fd:	c1 e0 02             	shl    $0x2,%eax
    1200:	01 c8                	add    %ecx,%eax
    1202:	01 c0                	add    %eax,%eax
    1204:	29 c2                	sub    %eax,%edx
    1206:	89 d0                	mov    %edx,%eax
    1208:	89 45 e8             	mov    %eax,-0x18(%rbp)
    120b:	8b 45 e8             	mov    -0x18(%rbp),%eax
    120e:	48 98                	cltq   
    1210:	0f b6 44 05 ee       	movzbl -0x12(%rbp,%rax,1),%eax
    1215:	83 c0 01             	add    $0x1,%eax
    1218:	89 c2                	mov    %eax,%edx
    121a:	8b 45 e8             	mov    -0x18(%rbp),%eax
    121d:	48 98                	cltq   
    121f:	88 54 05 ee          	mov    %dl,-0x12(%rbp,%rax,1)
    1223:	8b 45 dc             	mov    -0x24(%rbp),%eax
    1226:	48 63 d0             	movslq %eax,%rdx
    1229:	48 69 d2 67 66 66 66 	imul   $0x66666667,%rdx,%rdx
    1230:	48 c1 ea 20          	shr    $0x20,%rdx
    1234:	c1 fa 02             	sar    $0x2,%edx
    1237:	c1 f8 1f             	sar    $0x1f,%eax
    123a:	29 c2                	sub    %eax,%edx
    123c:	89 d0                	mov    %edx,%eax
    123e:	89 45 dc             	mov    %eax,-0x24(%rbp)
    1241:	83 7d dc 00          	cmpl   $0x0,-0x24(%rbp)
    1245:	7f 97                	jg     11de <havesamenum+0x35>
    1247:	eb 04                	jmp    124d <havesamenum+0xa4>
    1249:	83 45 e4 01          	addl   $0x1,-0x1c(%rbp)
    124d:	8b 45 e4             	mov    -0x1c(%rbp),%eax
    1250:	48 98                	cltq   
    1252:	0f b6 44 05 ee       	movzbl -0x12(%rbp,%rax,1),%eax
    1257:	3c 01                	cmp    $0x1,%al
    1259:	7f 06                	jg     1261 <havesamenum+0xb8>
    125b:	83 7d e4 09          	cmpl   $0x9,-0x1c(%rbp)
    125f:	7e e8                	jle    1249 <havesamenum+0xa0>
    1261:	83 7d e4 09          	cmpl   $0x9,-0x1c(%rbp)
    1265:	7f 07                	jg     126e <havesamenum+0xc5>
    1267:	b8 01 00 00 00       	mov    $0x1,%eax
    126c:	eb 05                	jmp    1273 <havesamenum+0xca>
    126e:	b8 00 00 00 00       	mov    $0x0,%eax
    1273:	48 8b 75 f8          	mov    -0x8(%rbp),%rsi
    1277:	64 48 33 34 25 28 00 	xor    %fs:0x28,%rsi
    127e:	00 00 
    1280:	74 05                	je     1287 <havesamenum+0xde>
    1282:	e8 f9 fd ff ff       	callq  1080 <__stack_chk_fail@plt>
    1287:	c9                   	leaveq 
    1288:	c3                   	retq   

0000000000001289 <test_sqrt>:
    1289:	f3 0f 1e fa          	endbr64 
    128d:	55                   	push   %rbp
    128e:	48 89 e5             	mov    %rsp,%rbp
    1291:	48 8b 05 90 0d 00 00 	mov    0xd90(%rip),%rax        # 2028 <_IO_stdin_used+0x28>
    1298:	66 48 0f 6e c0       	movq   %rax,%xmm0
    129d:	48 8d 3d 64 0d 00 00 	lea    0xd64(%rip),%rdi        # 2008 <_IO_stdin_used+0x8>
    12a4:	b8 01 00 00 00       	mov    $0x1,%eax
    12a9:	e8 e2 fd ff ff       	callq  1090 <printf@plt>
    12ae:	90                   	nop
    12af:	5d                   	pop    %rbp
    12b0:	c3                   	retq   

00000000000012b1 <rand_sqrt>:
    12b1:	f3 0f 1e fa          	endbr64 
    12b5:	55                   	push   %rbp
    12b6:	48 89 e5             	mov    %rsp,%rbp
    12b9:	48 83 ec 10          	sub    $0x10,%rsp
    12bd:	b8 00 00 00 00       	mov    $0x0,%eax
    12c2:	e8 e9 fd ff ff       	callq  10b0 <rand@plt>
    12c7:	48 63 d0             	movslq %eax,%rdx
    12ca:	48 69 d2 1f 85 eb 51 	imul   $0x51eb851f,%rdx,%rdx
    12d1:	48 c1 ea 20          	shr    $0x20,%rdx
    12d5:	89 d1                	mov    %edx,%ecx
    12d7:	c1 f9 05             	sar    $0x5,%ecx
    12da:	99                   	cltd   
    12db:	29 d1                	sub    %edx,%ecx
    12dd:	89 ca                	mov    %ecx,%edx
    12df:	6b d2 64             	imul   $0x64,%edx,%edx
    12e2:	29 d0                	sub    %edx,%eax
    12e4:	89 c2                	mov    %eax,%edx
    12e6:	f2 0f 2a c2          	cvtsi2sd %edx,%xmm0
    12ea:	f2 0f 11 45 f0       	movsd  %xmm0,-0x10(%rbp)
    12ef:	48 8b 45 f0          	mov    -0x10(%rbp),%rax
    12f3:	66 48 0f 6e c0       	movq   %rax,%xmm0
    12f8:	48 8d 3d 14 0d 00 00 	lea    0xd14(%rip),%rdi        # 2013 <_IO_stdin_used+0x13>
    12ff:	b8 01 00 00 00       	mov    $0x1,%eax
    1304:	e8 87 fd ff ff       	callq  1090 <printf@plt>
    1309:	48 8b 45 f0          	mov    -0x10(%rbp),%rax
    130d:	66 48 0f 6e c0       	movq   %rax,%xmm0
    1312:	e8 89 fd ff ff       	callq  10a0 <sqrt@plt>
    1317:	66 48 0f 7e c0       	movq   %xmm0,%rax
    131c:	48 89 45 f8          	mov    %rax,-0x8(%rbp)
    1320:	48 8b 45 f8          	mov    -0x8(%rbp),%rax
    1324:	66 48 0f 6e c0       	movq   %rax,%xmm0
    1329:	48 8d 3d e3 0c 00 00 	lea    0xce3(%rip),%rdi        # 2013 <_IO_stdin_used+0x13>
    1330:	b8 01 00 00 00       	mov    $0x1,%eax
    1335:	e8 56 fd ff ff       	callq  1090 <printf@plt>
    133a:	90                   	nop
    133b:	c9                   	leaveq 
    133c:	c3                   	retq   

000000000000133d <main>:
    133d:	f3 0f 1e fa          	endbr64 
    1341:	55                   	push   %rbp
    1342:	48 89 e5             	mov    %rsp,%rbp
    1345:	48 83 ec 10          	sub    $0x10,%rsp
    1349:	e8 3b ff ff ff       	callq  1289 <test_sqrt>
    134e:	b8 00 00 00 00       	mov    $0x0,%eax
    1353:	e8 59 ff ff ff       	callq  12b1 <rand_sqrt>
    1358:	c7 45 f8 3c 01 00 00 	movl   $0x13c,-0x8(%rbp)
    135f:	8b 45 f8             	mov    -0x8(%rbp),%eax
    1362:	89 c6                	mov    %eax,%esi
    1364:	48 8d 3d ad 0c 00 00 	lea    0xcad(%rip),%rdi        # 2018 <_IO_stdin_used+0x18>
    136b:	b8 00 00 00 00       	mov    $0x0,%eax
    1370:	e8 1b fd ff ff       	callq  1090 <printf@plt>
    1375:	c7 45 f4 01 00 00 00 	movl   $0x1,-0xc(%rbp)
    137c:	eb 32                	jmp    13b0 <main+0x73>
    137e:	8b 45 f4             	mov    -0xc(%rbp),%eax
    1381:	0f af c0             	imul   %eax,%eax
    1384:	89 45 fc             	mov    %eax,-0x4(%rbp)
    1387:	8b 45 fc             	mov    -0x4(%rbp),%eax
    138a:	89 c7                	mov    %eax,%edi
    138c:	e8 18 fe ff ff       	callq  11a9 <havesamenum>
    1391:	83 f8 01             	cmp    $0x1,%eax
    1394:	75 16                	jne    13ac <main+0x6f>
    1396:	8b 45 fc             	mov    -0x4(%rbp),%eax
    1399:	89 c6                	mov    %eax,%esi
    139b:	48 8d 3d 81 0c 00 00 	lea    0xc81(%rip),%rdi        # 2023 <_IO_stdin_used+0x23>
    13a2:	b8 00 00 00 00       	mov    $0x0,%eax
    13a7:	e8 e4 fc ff ff       	callq  1090 <printf@plt>
    13ac:	83 45 f4 01          	addl   $0x1,-0xc(%rbp)
    13b0:	8b 45 f4             	mov    -0xc(%rbp),%eax
    13b3:	3b 45 f8             	cmp    -0x8(%rbp),%eax
    13b6:	7c c6                	jl     137e <main+0x41>
    13b8:	90                   	nop
    13b9:	90                   	nop
    13ba:	c9                   	leaveq 
    13bb:	c3                   	retq   
    13bc:	0f 1f 40 00          	nopl   0x0(%rax)

00000000000013c0 <__libc_csu_init>:
    13c0:	f3 0f 1e fa          	endbr64 
    13c4:	41 57                	push   %r15
    13c6:	4c 8d 3d c3 29 00 00 	lea    0x29c3(%rip),%r15        # 3d90 <__frame_dummy_init_array_entry>
    13cd:	41 56                	push   %r14
    13cf:	49 89 d6             	mov    %rdx,%r14
    13d2:	41 55                	push   %r13
    13d4:	49 89 f5             	mov    %rsi,%r13
    13d7:	41 54                	push   %r12
    13d9:	41 89 fc             	mov    %edi,%r12d
    13dc:	55                   	push   %rbp
    13dd:	48 8d 2d b4 29 00 00 	lea    0x29b4(%rip),%rbp        # 3d98 <__do_global_dtors_aux_fini_array_entry>
    13e4:	53                   	push   %rbx
    13e5:	4c 29 fd             	sub    %r15,%rbp
    13e8:	48 83 ec 08          	sub    $0x8,%rsp
    13ec:	e8 0f fc ff ff       	callq  1000 <_init>
    13f1:	48 c1 fd 03          	sar    $0x3,%rbp
    13f5:	74 1f                	je     1416 <__libc_csu_init+0x56>
    13f7:	31 db                	xor    %ebx,%ebx
    13f9:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
    1400:	4c 89 f2             	mov    %r14,%rdx
    1403:	4c 89 ee             	mov    %r13,%rsi
    1406:	44 89 e7             	mov    %r12d,%edi
    1409:	41 ff 14 df          	callq  *(%r15,%rbx,8)
    140d:	48 83 c3 01          	add    $0x1,%rbx
    1411:	48 39 dd             	cmp    %rbx,%rbp
    1414:	75 ea                	jne    1400 <__libc_csu_init+0x40>
    1416:	48 83 c4 08          	add    $0x8,%rsp
    141a:	5b                   	pop    %rbx
    141b:	5d                   	pop    %rbp
    141c:	41 5c                	pop    %r12
    141e:	41 5d                	pop    %r13
    1420:	41 5e                	pop    %r14
    1422:	41 5f                	pop    %r15
    1424:	c3                   	retq   
    1425:	66 66 2e 0f 1f 84 00 	data16 nopw %cs:0x0(%rax,%rax,1)
    142c:	00 00 00 00 

0000000000001430 <__libc_csu_fini>:
    1430:	f3 0f 1e fa          	endbr64 
    1434:	c3                   	retq   

Disassembly of section .fini:

0000000000001438 <_fini>:
    1438:	f3 0f 1e fa          	endbr64 
    143c:	48 83 ec 08          	sub    $0x8,%rsp
    1440:	48 83 c4 08          	add    $0x8,%rsp
    1444:	c3                   	retq   
